package algorithm;


import lombok.Data;

@Data
public class Node {

    public Node next;

    public int value;

    @Override
    public String toString() {
        return "Node{" +
                "next=" + next +
                ", value=" + value +
                '}';
    }
}
